﻿using SqlSugar;

namespace Shop.Model.Entity.Jur;

/// <summary>
/// 6.2 角色
/// </summary>
[SugarTable("jur_role")]
public class JurRole: BaseEntity
{
    /// <summary>
    /// 角色名称
    /// </summary>
    public string Name {get;set;}

    /// <summary>
    /// 备注
    /// </summary>
    public string Comments {get;set;}

    /// <summary>
    /// 状态
    /// 0：正常
    /// -1：删除 
    /// </summary>
    public int State {get;set;}

    /// <summary>
    /// 创建时间
    /// </summary>
    [SugarColumn(IsOnlyIgnoreInsert = true)]
    public DateTime CreateTime {get;set;}

    /// <summary>
    /// 更新时间
    /// </summary>
    public DateTime? UpdateTime {get;set;}
}